package com.bbzn.device.client.service;

import java.util.List;
import com.bbzn.device.client.dataobject.FenceDevice;

import javax.annotation.PostConstruct;

public interface FenceDeviceService {


    int deleteByPrimaryKey(Long id);

    int insert(FenceDevice record);

    int insertOrUpdate(FenceDevice record);

    int insertOrUpdateSelective(FenceDevice record);

    int insertSelective(FenceDevice record);

    FenceDevice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FenceDevice record);

    int updateByPrimaryKey(FenceDevice record);

    List<FenceDevice> findByAll(FenceDevice fenceUser);

    int updateBatch(List<FenceDevice> list);

    int updateBatchSelective(List<FenceDevice> list);

    int batchInsert(List<FenceDevice> list);

    int findCountByAll(FenceDevice fenceUser);

    int deleteSelective(FenceDevice fenceUser);

    List<FenceDevice> selectByImei(String imei);

    void recordJob(FenceDevice record);

    @PostConstruct
    void init();
}




